package se.webbzon.boltzmann.item;

import se.webbzon.boltzmann.game.environment.GameEnvironment;
import se.webbzon.boltzmann.game.object.player.AbstractPlayerCharacter;

public class RestorationItem extends AbstractItem {
	
	// The health and energy restored by this item
	private int health, energy;
	
	/*============================================================
	Constructor
	============================================================*/

	public RestorationItem(String name, String description,
							int baseValue,
							String textureSetName,
							int health, int energy) {
		super(AbstractItem.GAME_ITEM + AbstractItem.BATTLE_ITEM, name, description, baseValue, textureSetName);
		this.health = health;
		this.energy = energy;
	}
	
	public RestorationItem(RestorationItem item) {
		super(item);
		this.health = item.health;
		this.energy = item.energy;
	}
	
	/*============================================================
	Public Methods
	============================================================*/

	@Override public void useItem(GameEnvironment genv, AbstractPlayerCharacter player) {
		
	}
	
	@Override public AbstractItem clone() {
		return new RestorationItem(this);
	}

}
